import Vue from 'vue'

const Directives = {
    install(Vue) {
        // input数据框自动获得焦点
        Vue.directive('focus', {
            inserted (el) {
                el.focus();
            },
        })
    }

}
Vue.use(Directives)
// export default Directives